<%--
  Created by IntelliJ IDEA.
  User: 59906
  Date: 2019/11/25
  Time: 21:35
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/table.css" />
    <title>$Title$</title>
  </head>
  <body>
  <div>
    <div class="b">
      <h3>${country}冠状病毒实时统计</h3>
    </div>

    <div class="a">
      <br/>
      <h3>&nbsp; &nbsp;截至今天病例总数：</h3>
      <h1>&nbsp; &nbsp; ${sum}</h1>
      &nbsp; &nbsp;当前时间：${time}
      <HR style="FILTER: alpha(opacity=100,finishopacity=0,style=2)" width="96%">
      &nbsp; &nbsp;自前一日以来新增病例数：${sum1}
    </div>

    <table>
      <tr>
        <th>Province/State</th>
        <th>Country/Region</th>
        <th>LatestTotal</th>
        <th>DifferentPrevDay</th>
      </tr>

      <c:forEach items="${list}" var="data">
        <tr>
          <td>${data.state}</td>
          <td>${data.country}</td>
          <td>${data.total}</td>
          <td>${data.add}</td>
        </tr>
      </c:forEach>

    </table>
  </div>

  </body>
</html>
